<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/TGB.Master" CodeBehind="FrmConceptosABM.aspx.vb" Inherits="TGB.FrmConceptosABM" 
    title="Administracion de Conceptos" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div id="DIV1" style="width: 100%; height: 22px; text-align: left; background-color: #ccccff;" >
    
        <asp:Label ID="LblTitulo" runat="server" CssClass="titulo" Text="Administracion de Conceptos" Font-Underline="False" Height="8px" Width="296px" Font-Names="Calibri"></asp:Label>
        </div><hr /> 
        <div style="width: 100%; height: 133px; text-align: center; background-color: #efefef; vertical-align: middle;" id="DIV2">
       
    <table style="table-layout: auto; width: 752px; border-collapse: collapse;
        background-color: transparent">
        <tr>
            <td style="width: 4px; height: 116px">
            </td>
            <td style="width: 4px; height: 116px; background-color: transparent;" align="center">
                <table class="tabla" style="width: 600px; height: 80px; text-align: center">
                    <tr>
                        <td align="right" style="width: 25%; height: 14px">
                        </td>
                        <td align="right" style="width: 25%; height: 14px">
                            <asp:Label ID="Label1" runat="server" Text="Descripcion" Font-Bold="True"></asp:Label></td>
                        <td align="left" style="width: 94%; height: 14px">
                            <asp:TextBox ID="TxtDescripcion" runat="server" CssClass="campotxt" Width="336px" MaxLength="40" Font-Bold="True"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 25%; height: 20px">
                        </td>
                        <td align="right" style="width: 25%; height: 20px">
                            <asp:Label ID="Label2" runat="server" Text="Iva" Font-Bold="True"></asp:Label></td>
                        <td align="left" style="width: 94%; height: 20px">
                            <asp:TextBox ID="TxtIva" runat="server" CssClass="campotxt" MaxLength="5" ValidationGroup="Guardar" Font-Bold="True">0,00</asp:TextBox>
                            <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="TxtIva"
                                Display="Dynamic" ErrorMessage="Numero Incorrecto" MaximumValue="99,99" MinimumValue="0,00"
                                Type="Double" ValidationGroup="Guardar" CssClass="LabelErrorSmall">Numero Incorrecto</asp:RangeValidator>
                            </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 25%; height: 24px">
                        </td>
                        <td align="right" style="width: 25%; height: 24px;">
                            <asp:Label ID="Label3" runat="server" Text="Tipo" Font-Bold="True"></asp:Label></td>
                        <td align="left" style="width: 94%; height: 24px;">
                            <asp:DropDownList ID="CboTipo" runat="server" CssClass="campotxt" AppendDataBoundItems="True" Width="112px" Font-Bold="True">
                                <asp:ListItem Value="-1">Ninguno</asp:ListItem>
                                <asp:ListItem>Compra</asp:ListItem>
                                <asp:ListItem>Venta</asp:ListItem>
                            </asp:DropDownList></td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 25%">
                        </td>
                        <td align="right" style="width: 25%">
                            <asp:Label ID="Label4" runat="server" Text="Imputacion" Font-Bold="True"></asp:Label></td>
                        <td align="left" style="width: 94%">
                            <asp:DropDownList ID="CboImputacion" runat="server" CssClass="campotxt" AppendDataBoundItems="True" Width="304px" Font-Bold="True">
                                <asp:ListItem Value="-1">Ninguno</asp:ListItem>
                            </asp:DropDownList></td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 25%">
                        </td>
                        <td align="right" style="width: 25%">
                        </td>
                        <td align="left" style="width: 94%">
                            <asp:HiddenField ID="HFCodigoConcepto" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td align="left" colspan="1" style="height: 21px">
                        </td>
                        <td align="left" colspan="2" style="height: 21px">
                            <asp:Label ID="LblError" runat="server" Font-Bold="True" Font-Names="Calibri" Font-Size="12px"
                                ForeColor="Red" Width="480px" CssClass="LabelError"></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="right" colspan="1" style="height: 21px">
                        </td>
                        <td align="center" colspan="2" style="height: 21px">
                            &nbsp;<asp:LinkButton ID="LinkGuardar" runat="server" ValidationGroup="Guardar" CssClass="BotonLink">Guardar</asp:LinkButton>
                            /
                            <asp:LinkButton ID="LinkEliminar" runat="server" CssClass="BotonLink" ValidationGroup="Guardar">Eliminar</asp:LinkButton>
                            /
                            <asp:LinkButton ID="LinkBuscar" runat="server" CssClass="BotonLink" ValidationGroup="Guardar">Buscar</asp:LinkButton>
                            /
                            <asp:LinkButton ID="LinkCancelar" runat="server" CssClass="BotonLink" ValidationGroup="Guardar">Cancelar</asp:LinkButton>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td style="width: 4px; height: 21px">
            </td>
            <td style="width: 4px; height: 21px">
                <div style="width: 255%; height: 100%; background-color: #efefef">
                <asp:GridView ID="GridConcepto" runat="server" AutoGenerateColumns="False" BackColor="White"
                    BorderColor="#CCCCCC" BorderWidth="1px" CellPadding="4" CssClass="tabla" ForeColor="Black"
                    GridLines="Horizontal" Height="96px" Width="736px" AllowPaging="True" PageSize="25" style="vertical-align: middle; text-align: center" BorderStyle="None" CellSpacing="1">
                    <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
                    <Columns>
                        <asp:TemplateField HeaderText="Codigo">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("CodigoConcepto") %>'></asp:TextBox>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:LinkButton ID="LinkSeleccionar" runat="server" CommandName="Select">Ver</asp:LinkButton>
                                <asp:HiddenField ID="HdConcepto" runat="server" Value='<%# bind("CodigoConcepto") %>' />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Descripcion">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("Descripcion") %>'></asp:TextBox>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:Label ID="LblDescripcion" runat="server" Text='<%# Bind("Descripcion") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Iva">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("Iva") %>'></asp:TextBox>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:Label ID="LblIva" runat="server" Text='<%# Bind("Iva") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Tipo">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("Tipo") %>'></asp:TextBox>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:Label ID="LblTipo" runat="server" Text='<%# Bind("Tipo") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Imputacion">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox5" runat="server" Text='<%# Bind("DescripcionImp") %>'></asp:TextBox>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:Label ID="LbldescripcionImp" runat="server" Text='<%# Bind("DescripcionImp") %>'></asp:Label>
                                <asp:HiddenField ID="HFImputacion" runat="server" Value='<%# Bind("CodigoImputacion") %>' />
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <SelectedRowStyle BackColor="#CC3333" ForeColor="White" Font-Bold="True" />
                    <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
                    <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" />
                    <PagerSettings PageButtonCount="25" />
                </asp:GridView>
                </div>
        
    
            </td>
        </tr>
    </table>
      </div>
</asp:Content>
